package ym.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * 预约
 */
@Data
public class Appointment implements Serializable {
    @TableId
    private Integer appointmentId;
    private String appointmentTime;//预约时间

    private Integer houseId;//房源
    @TableField(exist = false)
    private House house;

    private Integer userId;//用户
    @TableField(exist = false)
    private User user;
}
